package com.castile.parking.resource.service.impl;

import com.castile.parking.resource.dao.StallMapper;
import com.castile.parking.resource.entity.Stall;
import com.castile.parking.resource.entity.StallExample;
import com.castile.parking.resource.service.IStallService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: Castile
 * @create: 2024-04-20 17:53
 * @Version 1.0
 **/
@Service
public class StallService implements IStallService {

    @Autowired
    private StallMapper stallMapper;

    @Override
    public List<Stall> list() {
        return stallMapper.selectByExample(new StallExample());
    }

}
